<?php
class DZTProductComponents extends sfComponents
{
  public function executeDZTLastProducts(sfWebRequest $request)
  {
    $this->lastProducts = Doctrine_Query::create()->from('DZTProduct dztproduct')
                                                  ->limit($this->nb)
                                                  ->execute();
  }
}
